{% extends "base.html" %}
{% load staticfiles %}

{% block title %}
	图灵课程 - 主页
{% endblock %}


{% block style %}
{% endblock %}

{% block content %}

<div class="container" style="font-family: Hiragino Sans GB W3">
    <div class="row">
        <br>
        <div class="col-md-11">
            <div class="panel panel-default" style="border: none;">
                <div class="panel-heading">
                    当前位置：问题列表
                </div>
                <div class="panel-body">
                    <table id="DataTable_QuestionList" class="table" style="border: none;">
                        <thead>
                            <tr style="display: none;">
                                <th width="5%" style="text-align: center;"></th>
                                <th width="95%" style="text-align: center;"></th>
                            </tr>
                        </thead>
                       
                        <tbody >
                            {% for question in questionSet %}
                                <tr>
                                    <td style="text-align: center;"></td>
                                    <td>
                                        <div class="question-summary" id="question-summary-{{question.QuestionID}}}">
                                            <div onclick="" class="">
                                                <div class="sum_signs">
                                                    <div class="mini-counts">{{question.PraiseNum}}</div>
                                                    <div>点赞</div>
                                                </div>
                                                <div class="sum_signs">
                                                    <div class="mini-counts"><span title="">{{question.AnswerNum}}</span></div>
                                                    <div>回答</div>
                                                </div>
                                                <div class="sum_signs">
                                                    <div class="mini-counts"><span title="">{{question.BrowseNum}}</span></div>
                                                    <div>浏览</div>
                                                </div>
                                            </div>

                                            <div class="summary">
                                                <a style="text-decoration:none; " href="QuestionDetails/?id={{question.QuestionID}}" class="question-hyperlink" title="">{{question.QuestionAbstract}}</a>
                                                <div class="sum_tags">
                                                    <a href="" class="sum_post-tag" title="" rel="">c#</a> 
                                                    <a href="" class="sum_post-tag" title="" rel="">windows</a> 
                                                    <a href="" class="sum_post-tag" title="" rel="">forms</a> 
                                                    <a href="" class="sum_post-tag" title="" rel="">winforms</a> 

                                                    <div class="started pull-right" style="color: var(--theme-dark); text-align: bottom">asked <span title="2016-11-22 16:41:53Z" class="relativetime">16 hours ago</span>
                                                    </div> 
                                                </div>
                                            </div>
                                        </div>
                                    </td>
                                
                                </tr>
                            {% endfor %}
                            <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1261493409'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s4.cnzz.com/z_stat.php%3Fid%3D1261493409%26online%3D1%26show%3Dline' type='text/javascript'%3E%3C/script%3E"));
                            </script>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>

        <!--下拉菜单
        <div class="col-md-1">
            <div style="padding-top: 5px;">
                <li class="dropdown">
                    <a href="" class="dropdown-toggle " data-toggle="dropdown" style="color: var(--theme-dark); text-decoration: none;">排序<span class="caret"></span></a>
                    <ul class="dropdown-menu pull-right" style="font-size: 11px" role="menu">
                        <li><a href="#">按提问时间排序</a></li>
                        <li><a href="#">按更新时间排序</a></li>
                        <li class="divider"></li>
                        <li><a href="#">按浏览次数排序</a></li>
                    </ul>
                </li>             
            </div>
        </div>
        -->
    </div>
</div>

{% endblock %}



{% block other_script %}
{% endblock %}